﻿/*
 *  -- Full search window --
 *  This is an extension script for MCEnt app. It does require several libraries and components to be loaded outside of this script.
 */

.fullSearchStartField {
    background-color: #F3F3F3;
}

.fullSearchStartField span {
    white-space: nowrap;
    display: block;
    font-size: 14px;
    margin: 2px;
    padding: 4px 6px;
    border: 1px solid #999999;
    border-radius: 5px;
    background-color: #FFFFFF;
    color: #888888;
    cursor: text;
}

.fullSearchStartField span:hover {
    border-color: #666666;
    color: #333333;
}

.fullSearchStartField span i {
    margin-right: 5px;
}

.fullSearchContainer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
}

.fullSearchContainer.active {
    display: block;
}

.fullSearchContainer input {
    margin: 100px auto 10px;
    display: block;
    width: 100%;
    max-width: 650px;
    font-size: 30px;
    padding: 8px 15px;
    border-radius: 7px;
    border-width: 0;
}

.fullSearchTitle {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    font-size: 18px;
    color: #FFFFFF;
}

@keyframes loaderAnimation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.fullSearchLoader {
    width: 30px;
    height: 30px;
    border: solid 3px transparent;
    border-top-color: #FFF;
    border-left-color: #FFF;
    border-radius: 50%;
    margin: 0 auto;
    margin-top: 15px;
    font-size: 18px;
    animation: loaderAnimation 400ms linear infinite;
}

.fullSearchLoader.hidden {
    display: none;
}

.fullSearchResults:not(:empty) {
    background-color: #FFFFFF;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    font-size: 18px;
    padding: 5px 0;
    border-radius: 7px;
    border-width: 0;
}

.fullSearchResultsRow {
    padding: 7px 20px;
    margin: 3px 0;
}

.fullSearchResultsRow i {
    margin: 0 1em 0 0;
}

.fullSearchResultsRow:hover {
    background-color: #f7f7f7;
    cursor: pointer;
}

.fullSearchResultsRow.focused {
    background-color: #0064a6;
    color: #FFFFFF;
}

.fullSearchResultsRow .secondary-text {
    font-size: 12px;
    color: #888888;
    margin-left: 10px
}

.fullSearchResultsRow.focused .secondary-text {
    color: #DDDDDD;
}